package xdrawer.test;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.util.ArrayList;

public class MyPaneTester extends Application {
    @Override
    public void start(Stage primaryStage) throws Exception {
        MyPane myPane = new MyPane();

        ArrayList<String> s = new ArrayList<>();
        s.add("1.png");
        s.add("2.png");
        s.add("3.png");

        myPane.setList(s);
        myPane.setCurrentIndex(0);

        primaryStage.setTitle("XDrawer");
        primaryStage.setScene(new Scene(myPane, 1024, 800));
        primaryStage.show();

    }

    public static void main(String[] args) {
        Application.launch(args);
    }
}
